package com.liyunc.demo.bundle.file.manager.model.dto.input;

import com.liyunc.demo.comp.common.rest.response.dto.AuditableDto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author liyuncong
 * @version 1.0
 * @file AssetFilePackRequestDto
 * @brief AssetFilePackRequestDto
 * @details AssetFilePackRequestDto
 * @date 2022-04-14
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                        NAME               DESCRIPTION
 * 2022-04-14                      liyuncong          Created
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AssetPackageRequestDto extends AuditableDto {

    @NotNull
    private List<AssetPackageInfoRequestDto> files;

    @NotNull
    private Integer ownerType;

    @NotNull
    private Long ownerId;
}
